package com.peach.service.DeviceManage;

import com.peach.domain.DeviceManage.Device;
import com.peach.domain.DeviceManage.MyApp;

import java.util.List;

public interface DeviceApplication {
    public int insertDeviceWithUDID(Device device);

    public int updatePushMagicAndToken(Device device);

    public int updateDeviceDetail(Device device);

    public List<Device> selectDeviceWithUDID(Device device);

    public List<Device> selectDeviceWithOwner(Device device);

    public List<Device> selectAllDevice();

    public int deleteDeviceWithUDID(Device device);

    public int cleanOldAppList(String udid);

    //更新设备的应用列表
    public int insertNewApp(MyApp myApp);

}
